<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta charset="utf-8">
		<title>Dustjs Demo</title>
	</head>
	<body>
		<div id="demo"></div>
		<script src="https://home4j.duapp.com/share/jquery/jquery-2.min.js"></script>
		<script src="https://home4j.duapp.com/share/linkedin-dustjs/dist/dust-core.min.js"></script>
		<script src="hello.js"></script>
		<script>
			$(function() {
				var data = {
					"title": "Hello",
					"names": [
						{name: "Joshua Jeme"}
						, {name: "Joshua Zhan"}
						, {name: "Zhan Daonan"}
					]
				};
				dust.render("hello", data, function(err, out) {
					$('#demo').replaceWith(out);
				});
			});
		</script>
	</body>
</html>